package com.csu.tingtian.service;


import com.csu.tingtian.common.CommonResponse;
import com.csu.tingtian.vo.ProduceOrder;

import java.text.ParseException;
import java.util.List;


public interface ProduceOrderService {
    CommonResponse<List<ProduceOrder>>getAllProduceOrder();
    CommonResponse<List<ProduceOrder>> getProduceOrderByUserName(String userName);
    CommonResponse<ProduceOrder> getProduceOrderByOrderId(int orderId);
    CommonResponse<ProduceOrder> insertProduceOrder(ProduceOrder produceOrder);
    CommonResponse<ProduceOrder> deleteProduceOrderByOrderId(int orderId);
    CommonResponse<ProduceOrder> updateProduceOrder(ProduceOrder produceOrder);

}
